<template>
  <view class="login">
    <view class="login-header">
      <image class="logo" :src="logoBase"></image>
    </view>
    <view class="login-main">
      <input class="account-input" focus placeholder="登录账号" />
      <input class="password-input" placeholder="密码" />
      <button type="button" class="login-button">登录</button>
    </view>

    <view class="login-icon">
      <wd-button type="">成功按钮</wd-button>
      <!-- <wd-button plain>主要按钮</wd-button>
      <wd-button plain hairline>主要按钮</wd-button> -->
    </view>

    <!-- 底部信息 -->
    <view class="login-footer">
      <navigator url="forget" open-type="navigate">找回密码</navigator>
      <text>|</text>
      <navigator url="register" open-type="navigate">注册账号</navigator>
    </view>
  </view>
</template>

<script lang="ts" setup name="index">
import { logoBase64 } from './index'

const logoBase = ref(logoBase64)

/**
 * setup
 * @param {*}
 * @returns
 */
</script>

<style lang="scss">
@import './index.scss';
</style>
